package cn.ssm.mapper;

import cn.ssm.bean.Product;
import cn.ssm.util.PageSite;

import java.util.List;

public interface ProductMapper {
    public void add(Product product);

    public void delete(int id);

    public Product get(int id);

    public void update(Product product);

    public List<Product> list(int cid);

    public List<Product> list1(PageSite pageSite);

    public int count();
}
